/*
 * @Description:
 * @Author: dh
 * @Date: 2021-09-24 15:16:17
 * @LastEditors: dh
 * @LastEditTime: 2024-05-14 17:10:20
 */
/* 解构 */
let x: number
let y: number
let z: number
let array = [0, 1, 2, 3, 4]
;[x, y, z] = array

/* 类型查找 */
interface Person {
	addr: {
		city: string
		street: string
		num: number
	}
}

const addr: Person['addr'] = {
	city: 'string',
	street: 'string',
	num: 2,
}
